/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package client.gui.controls.kleurschema;

import java.awt.Color;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

/**
 *
 * @author Gonyo
 */
public abstract class KleurObject extends JPanel {
    JButton btn_Kleur = new JButton();
    JLabel lbl_Blauw = new JLabel();
    JLabel lbl_Groen = new JLabel();
    JLabel lbl_Rood = new JLabel();
    JTextField txt_Blauw = new JTextField(3);
    JTextField txt_Groen = new JTextField(3);
    JTextField txt_Rood = new JTextField(3);

    public KleurObject() {
        
    }

    public String getText()
    {
        return (";"+txt_Rood.getText()+";"+txt_Groen.getText()+";"+txt_Blauw.getText());
    }

    public abstract void refresh();
    
    public abstract void setNieuweKleur(Color c);

}
